﻿using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace MaterialEditor
{
    public class MultTexAndTex : IEffect
    {
        public Texture2D otherMat;

        public Vector2 Value
        {
            get { return Vector2.Zero; }
        }

        public Matrix Transform
        {
            get { return Matrix.Identity; }
        }

        public Effect effect
        {
            get { return EffectManager.MultShader; }
        }

        public IEffect Clone()
        {
            MultTexAndTex t = new MultTexAndTex();
            t.otherMat = otherMat;

            return t;
        }

        public Texture2D[] textures
        {
            get { return new Texture2D[] { otherMat }; }
        }
    }
}